﻿using Microsoft.Practices.Unity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IOC.Domain
{
    public class PhoneXiaomi : IPlay
    {
        public IGame PhoneGame { get; set; }

        //方法注入
        [InjectionMethod]
        public void Init(IGame game)
        {
            PhoneGame = game;
        }
    }
}
